Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement VPN control through UDS #2767

Merged
merged 64 commits into from
Jun 12, 2024
Merged

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented May 13, 2024

Task/Issue URL: https://app.asana.com/0/1203108348835387/1207203883170230/f

Description

Implement VPN control through UDS

Testing

  • Test uninstalling the VPN under different conditions - after enabling the VPN and before enabling it.
  • Test disabling login items and make sure the uninstallation works.
  • Always ensure the VPN agent and notifications agent are killed after uninstallation.
  • Test cancelling uninstallation.

Test 1:

  1. Install the VPN
  2. Start the VPN
  3. Uninstall the VPN

Test 2:

  1. Install the VPN
  2. Start the VPN
  3. Disable login items
  4. Uninstall the VPN

Test 3:

  1. Install the VPN
  2. Start the VPN
  3. launchctl remove <agent>
  4. Uninstall the VPN

Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Copy link
Contributor

github-actions bot commented May 13, 2024

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against ce4b52c

@diegoreymendez diegoreymendez changed the base branch from main to diego/app-launcher-code-cleanup May 31, 2024 12:16
@samsymons
Copy link
Collaborator

Added a few comments, but the testing instructions all worked for me 👏

@diegoreymendez
Copy link
Contributor Author

All feedback is addressed, can I ask for another look?

@diegoreymendez
Copy link
Contributor Author

Sorry, realized that I had missed some comments... it should be good now. I'll be testing some more, meanwhile.

Copy link
Collaborator

@samsymons samsymons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New changes look good and the feature is working well for me 👍 Did a quick check for any new memory leaks etc. introduced but didn't see anything.

@diegoreymendez diegoreymendez merged commit 39d9c41 into main Jun 12, 2024
19 checks passed
@diegoreymendez diegoreymendez deleted the diego/unix-domain-sockets branch June 12, 2024 14:44
samsymons added a commit that referenced this pull request Jun 12, 2024
# By Sam Symons (8) and others
# Via GitHub
* main: (35 commits)
  Check DBP Prerequisites in App and Disable Login Item If Necessary (#2850)
  Fixes an issue with my last merge
  Implement VPN control through UDS (#2767)
  Add VPN reddit cookie workaround (#2851)
  Bump version to 1.92.0 (202)
  Update Send Feedback icon (#2852)
  Make passwords easier to discover (#2847)
  Bump version to 1.92.0 (201)
  Update BSK for RMF survey changes (#2846)
  DBP: Update people-wizard.com (#2849)
  Remove VPN launch pixels (#2845)
  Prevent showing multiple VPN uninstalled popovers (#2844)
  Bump version to 1.92.0 (200)
  Set marketing version to 1.92.0
  Update embedded files
  DBP: Implement stats pixels (#2812)
  DBP: Add support for noResultsSelector (#2840)
  Fire compilation failed pixel if needed (#1626)
  Update autoconsent to v10.10.0 (#2842)
  Fix running Autofill-related UI tests in CI (#2843)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants